package com.pai4j.domain.dto.queue;

import lombok.Data;

import java.util.Set;

/**
 * @author: CYM-pai
 * @date: 2025/07/25 19:18
 **/
@Data
public class BaseDelayNormalQueueDTO extends BaseQueueDTO {

    private Set<String> messages;


    public static BaseDelayNormalQueueDTO of(Set<String> messages) {
        BaseDelayNormalQueueDTO mess = new BaseDelayNormalQueueDTO();
        mess.setMessages(messages);
        return mess;
    }
}
